import java.math.BigInteger;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ZhongJinTao
 * Date: 2024-04-09
 * Time: 8:47
 */
public class Test {
    public static void main(String[] args) {
        BigInteger ans = BigInteger.ONE;
        BigInteger sum = BigInteger.ZERO;
        int count = 0;
        int n = 3;
        Scanner sc = new Scanner(System.in);
        sum.subtract(BigInteger.valueOf(2));//减
        sum.divide(BigInteger.valueOf(2));//除
        sum.remainder(BigInteger.valueOf(2));//取余
        sum.mod(BigInteger.valueOf(3));
        sum.pow(n);//sum的n方
        sum.abs();//取绝对值
        sum.negate();//取绝对值
        for(int i = 1; i < 100; i++) {
            ans = ans.multiply(BigInteger.valueOf(i));//
            sum = sum.add(ans);//加
            System.out.print(sum);
            System.out.println(" " + ++count);
        }
    }
}
